import hzcRequest from "../../../utils/https";

// 协助注册
const registerApi = (data) => {
  return hzcRequest.post(`/api/member/register`, data);
};

// 获取验证码
const sendSmsCode = (params) => {
  return hzcRequest.get(`/api/member/sendSmsCode?phone=${params}`);
};

// 切换账号
const switchAccount = (data) => {
  return hzcRequest.post(`/api/member/switchAccount`, data);
};

export { registerApi, switchAccount, sendSmsCode };
